package com.dyzs.domain;

import java.io.Serializable;
import android.content.ContentValues;

public class Plan implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String planId;
	private String planDate;
	private String isCheck;	
	private String userId;
	private String lineName;
	private String journeyNum;
	
	
	
	private String adultNum;
	  private String childrenNum;
	  private String toddlersNum;
	  private String singleRemark;
	  private String cityName;
	  
	public Plan() {
	}

	

	

	public String getLineName() {
		return lineName;
	}

	public void setLineName(String lineName) {
		this.lineName = lineName;
	}

	public String getPlanId() {
		return planId;
	}

	public void setPlanId(String planId) {
		this.planId = planId;
	}

	public String getPlanDate() {
		return planDate;
	}

	public void setPlanDate(String planDate) {
		this.planDate = planDate;
	}

	

	public String getIsCheck() {
		return isCheck;
	}

	public void setIsCheck(String isCheck) {
		this.isCheck = isCheck;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getJourneyNum() {
		return journeyNum;
	}

	public void setJourneyNum(String journeyNum) {
		this.journeyNum = journeyNum;
	}
	
	
	
	

	public String getAdultNum() {
		return adultNum;
	}





	public void setAdultNum(String adultNum) {
		this.adultNum = adultNum;
	}





	public String getChildrenNum() {
		return childrenNum;
	}





	public void setChildrenNum(String childrenNum) {
		this.childrenNum = childrenNum;
	}





	public String getToddlersNum() {
		return toddlersNum;
	}





	public void setToddlersNum(String toddlersNum) {
		this.toddlersNum = toddlersNum;
	}





	public String getSingleRemark() {
		return singleRemark;
	}





	public void setSingleRemark(String singleRemark) {
		this.singleRemark = singleRemark;
	}





	public String getCityName() {
		return cityName;
	}





	public void setCityName(String cityName) {
		this.cityName = cityName;
	}





	public ContentValues getValues() {
		ContentValues values = new ContentValues();
		// 想该对象当中插入键值对，其中键是列名，值是希望插入到这一列的值，值必须和数据库当中的数据类型一致
		values.put("plan_id", this.getPlanId());
		values.put("plan_date", this.getPlanDate());
		values.put("line_name", this.getLineName());
		values.put("is_check", this.getIsCheck());
		values.put("user_id", this.getUserId());
		values.put("journey_num", this.getJourneyNum());		
		values.put("adult_num", this.getAdultNum());
		values.put("children_num", this.getChildrenNum());
		values.put("toddlers_num", this.getToddlersNum());
		values.put("single_remark", this.getSingleRemark());
		values.put("city_name", this.getCityName());
		return values;
	}

}
